/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pos.system;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Shameera
 */
public class PropertyBag {
    
    private Map<String , Object> o_property = new HashMap<String, Object>();
    
    private Map<String , String> s_property = new HashMap<String, String>();
    
    public String getStringProperty(String key){
        return s_property.get(key);
    }
    
    public void addStringProperty(String key , String val){
        s_property.put(key, val);
    }
    
    public Object getProperty(String key){
        return o_property.get(key);
    }
    
    public void addProperty(String key , Object val){
        o_property.put(key, val);
    }
    
}
